const getList = (author = "", keyword = "") => {
  return [
    {
      id: 1,
      author: "张三",
      content: "内容A",
      createTime: "1600591624660",
    },
    {
      id: 2,
      author: "李四",
      content: "内容B",
      createTime: "1600603435903",
    },
  ];
};
const getDetail = (id = "") => {
  return [
    {
      id: 1,
      author: "张三",
      content: "张三的内容详情",
      createTime: "1600603435903",
    },
  ];
};
const newBlog = (postData = {}) => {
  return { id: 99 };
};
const updateBlog = (id = "", postData = {}) => {
  return true;
};
const deleteBlog = (id = "") => {
  return true;
};
module.exports = {
  getList,
  getDetail,
  newBlog,
  updateBlog,
  deleteBlog,
};
